package com.feng.zshop.backend.vo;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Lee
 * @date 2019/2/23
 */
@Data
@ToString
public class SysuserVO implements Serializable {

//    @NotNull
    private Integer id;

    @NotBlank
    private String name;

    @NotBlank
    private String loginName;

    @NotBlank
    private String password;

    @NotBlank
    private String phone;

    @NotBlank
    private String email;

    @NotNull
    private Integer roleId;

}
